package cz.najman.emdroid.content;

import cz.najman.emdroid.mappings.Mappings;
import android.content.ContentValues;

/**
 * Interface defining methods for ContentProducers, that should write data to the request stream
 * @author  Lukas Najman
 */
public interface ContentProducer extends org.apache.http.entity.ContentProducer {

	/**
	 * Sets data that will be write to the request stream 
	 * @param  data
	 */
	public void setData(ContentValues data);
	
	/**
	 * @return  Data set to this ContentProducer
	 */
	public ContentValues getData();
	
	public void setMappings(Mappings mappings);
		
}
